#ifndef LED_H
#define LED_H

#include "stm32f4xx.h"
#include "os_cfg_app.h"
#include "os.h"
typedef enum LED_ID_T
{
	LED_D1 = 1,
	LED_D2,
	LED_D3,
	LED_D4,
	LED_DEF
} LED_ID;

void led_init(void);
void led_one_on(LED_ID led_n);
void delay(int num);
// 这个指针参数是ucos的要求
void led_loop(void *p_arg);
void led_ctrl_gpio(int led_type);
#endif
